package com.luyuan.crm.member.model;

import java.io.Serializable;

public class Address implements Serializable {
    /**	
     * Member Description
     */
    private static final long serialVersionUID = -7027531549496804296L;

    private String province;

    private String city;

    private String region;

    private String street;

    private String postCode;

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getPostCode() {
        return postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getAddress() {
        StringBuffer s = new StringBuffer();
        if (province != null) {
            s.append(province);
        }
        if (city != null) {
            s.append(city);
        }
        if (region != null) {
            s.append(region);
        }
        s.append(street);
        return s.toString();
    }
}
